﻿@model IEnumerable<MovieModel>

@section Scripts {
 <script src="@Url.Content("~/Scripts/Views/Home/MovieList.js")" type="text/javascript"></script>
}

@{
    ViewBag.Title = "The " + ViewBag.AmountOfRecentMovies + " most recent movies";
}

<h3 style="margin-bottom:25px">@ViewBag.AmountOfRecentMovies most recent movies</h3>

@Html.Partial("_MovieList",Model)


<div>
    <a href="#" onclick="history.back(); return false;">Back to List</a>
</div>